//引入封装的公共的请求插件
import {POST} from "@/services/request"

export default{
  ProductIndex(){
    return POST({
      url:'product/index'
    })
  },
  ProductType(){
    return POST({
      url:'product/type'
    })
  },
  ProductDetail(data={}){
    return POST({
      url:'product/detail',
      params:data
    })
  },
  ProductCollect(data={}){
    return POST({
      url:'product/collect',
      params:data
    })
  },
  OnlyInfo(data={}){
    return POST({
      url:'product/onlyinfo',
      params:data
    })
  },
  ProductComment(data={}){
    return POST({
      url:'product/comment',
      params:data
    })
  },
  Ranking(data={}){
    return POST({
      url:'product/ranking',
      params:data
    })
  },
}